<?php
if (empty($tags)) {
  return;
}
?>
            <div class="widget sidebar-widget">
              <div class="sidebar-widget-title">
                <h3 class="widgettitle"><?php echo __('Post Tags'); ?></h3>
              </div>
              <div class="tag-cloud">
    <?php echo $this->Blog->tagCloud($tags); ?>
 </div>
            </div>